<!-- PAGE CONTENT WRAPPER -->
<div class="page-content-wrap">

    <div class="row">
        <div class="col-md-12">
            <!-- START TABLE HOVER ROWS -->
            <div class="panel panel-default">
                <div class="panel-heading x-navigation x-navigation-horizontal x-navigation-panel">
                    <div class="panel-title-box" style="width: 30%">
                        <h3 class="panel-title"><strong>{{'查询结果：' | dyLanguage}}</strong></h3>
                    </div>
                    <div class="search-div">
                        <ul class="panel-controls panel-controls-title">
                            <li class="top-panel-controls">
                                <button class="btn btn-primary" ng-click="async()"><i class="fa fa-search"></i>{{'同步' | dyLanguage}}</button>
                                <button ng-show="!showMoreSearch" class="btn btn-primary" ng-click="export()"><i class="fa fa-search"></i>{{'导出' | dyLanguage}}</button>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="panel-body table-responsive">
                    <p style="float: left;">{{'本次查询共查询到' | dyLanguage}}{{pagination.length}}{{'条记录。' | dyLanguage}}</p>
                    <cm-pagination ng-model="pagination" ng-show="pagination.length > 0"></cm-pagination>
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th>{{'用户' | dyLanguage}}</th>
                            <th>{{'员工号' | dyLanguage}}</th>
                            <th>{{'开始时间' | dyLanguage}}</th>
                            <th>{{'完成时间' | dyLanguage}}</th>
                            <th ng-show="user.roleCode == 'ROLE_ORGANIZATION_SERVICE'">{{'使用者厂别' | dyLanguage}}</th>
                            <th>{{'状态' | dyLanguage}}</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr style="word-wrap:break-word;word-break: break-all;" ng-repeat="record in queryResult.datas">
                            <td>{{record.nickName}}</td>
                            <td>{{record.employeeId}}</td>
                            <td>{{record.startTime.toDateTime()}}</td>
                            <td>{{record.endTime.toDateTime()}}</td>
                            <td ng-show="user.roleCode == 'ROLE_ORGANIZATION_SERVICE'">{{record.companyName}}</td>
                            <td>{{record.status | EnumFilter: EnumName.LearningMapAnswerSheetStatusEnum}}</td>
                        </tr>
                        </tbody>
                    </table>
                    <cm-pagination ng-model="pagination" ng-show="pagination.length > 0"></cm-pagination>
                </div>
            </div>
            <!-- END TABLE HOVER ROWS -->

        </div>
    </div>

</div>

<table id="reportData" style="display: none;">
    <tr>
        <th>nickName</th>
        <th>employeeId</th>
        <th>startTime</th>
        <th>endTime</th>
        <th>companyName</th>
        <th>status</th>
    </tr>
</table>
<!-- END PAGE CONTENT WRAPPER -->